package com.example.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.pojo.SysRoleRight;
import com.example.pojo.SysUser;
import com.example.pojo.Vo.SysUserVo;

import java.util.List;

public interface UserService extends IService<SysUser> {

    SysUserVo getLogin(String usrName, String usrPassword);

    IPage<SysUserVo> getPage(Page<SysUserVo> page,SysUserVo sysUserVo);

    public SysUserVo findUserByUsrName(String usrName);


    public List<SysRoleRight> getRoleRightListById(Long roleId);

}
